//按需导入
import Vue  from "vue";
import { Button, Switch, Rate, Tabbar, TabbarItem, NavBar,Toast, Search, Swipe, SwipeItem, Grid, GridItem,Icon, ActionSheet, Dialog, Checkbox, Tab, Tabs } from "vant";


Vue.use(NavBar);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Button)
Vue.use(Switch)
Vue.use(Rate)
Vue.use(Toast)
Vue.use(Search)    // 搜索框
Vue.use(Swipe)     // 轮播图
Vue.use(SwipeItem)
Vue.use(Grid)       // 布局组件
Vue.use(GridItem)
Vue.use(Icon)
Vue.use(ActionSheet)
Vue.use(Dialog)
Vue.use(Checkbox)
Vue.use(Tab)
Vue.use(Tabs)
